package com.jxdinfo.hussar.cloud.module.example.tjjc.towertimecount.service;

import com.jxdinfo.hussar.cloud.module.example.tjjc.towertimecount.model.TowerTimeCount;
import com.jxdinfo.hussar.cloud.module.example.tjjc.towertimecount.vo.TowerTimeCountChartVO;
import com.jxdinfo.hussar.cloud.module.example.tjjc.towertimecount.vo.TowerTimeCountSearchVO;
import com.jxdinfo.hussar.cloud.module.example.tjjc.towertimecount.vo.TowerTimeCountVO;
import com.jxdinfo.hussar.platform.core.base.apiresult.ApiResponse;
import com.jxdinfo.hussar.support.mp.base.service.HussarService;

import java.util.List;

/**
 * 塔机工时统计服务类
 */
public interface TowerTimeCountService extends HussarService<TowerTimeCount> {

    /**
     * 塔机工时分析图表
     * @param towerTimeCountSearchVO 入参
     * @return 查询结果
     */
    ApiResponse<List<TowerTimeCountChartVO>> findByChart(TowerTimeCountSearchVO towerTimeCountSearchVO);

    /**
     * 获取工时列表信息
     * @param towerTimeCountSearchVO 入参
     * @return 查询结果
     */
    ApiResponse<List<TowerTimeCountVO>> findByList(TowerTimeCountSearchVO towerTimeCountSearchVO);
}
